package de.com.cn.springboot.model;

import java.util.List;

public class Menu {
    private Integer id;

    private String name;

    private String url;

    private String code;

    private Integer laststage;

    private Integer parentid;

    private Integer status;
    
    private List<Menu> sonmenu;
    
    

	public List<Menu> getSonmenu() {
		return sonmenu;
	}

	public void setSonmenu(List<Menu> sonmenu) {
		this.sonmenu = sonmenu;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url == null ? null : url.trim();
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    public Integer getLaststage() {
        return laststage;
    }

    public void setLaststage(Integer laststage) {
        this.laststage = laststage;
    }

    public Integer getParentid() {
        return parentid;
    }

    public void setParentid(Integer parentid) {
        this.parentid = parentid;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}